# class HelloSchema(Schema):
#     name = fields.String(required=True, description='Name of the person')  #
    # 判断输入的元素是数组中的某一个 validate=validate.OneOf(['active', 'inactive', 'pending'])
    #  status = fields.String(required=True, validate=validate.OneOf(['active', 'inactive', 'pending']))


# class CreateBatchSchema(Schema):
#     site = fields.Int(required=True, description='The number of the site.')
#     area = fields.Int(required=True, description='The number of the area.')
#     year = fields.Int(required=True, description='The 2-digit year of the batch, 0..99.')
#     order = fields.Int(required=True, description='The number of the order, 1..65535.')
#     batch = fields.Int(required=True, description='The number of the batch, 1..65535.')
#     recipeCategory = fields.Int(required=True, description='The number of the recipe category.')
#     recipe = fields.Int(required=True, description='The number of the batch, 1..65535.')
#     line = fields.Int(required=True, description='The number of the batch, 1..65535.')
#     productId = fields.Int(required=True, description='The number of the batch, 1..65535.')
#     size = fields.Float(required=True, description='The number of the batch, 1..65535.')
#     useDefaultSize = fields.Boolean(required=True, description='The number of the batch, 1..65535.')
#     startMode = fields.String(required=True, description='The number of the batch, 1..65535.')
#     plannedStartTimeYear = fields.Int(required=True, description='The number of the batch, 1..65535.')
#     plannedStartTimeMonth = fields.Int(required=True, description='The number of the batch, 1..65535.')
#     plannedStartTimeDay = fields.Int(required=True, description='The number of the batch, 1..65535.')
#     status = fields.String(required=True, description='The number of the batch, 1..65535.')
#     parameterList = fields.Raw(required=True)
#     useDefaultParameterValues = fields.Boolean(required=True, description='The number of the batch, 1..65535.')
#     errorMessage = fields.String(required=True, description='The number of the batch, 1..65535.')
#     doRepeat = fields.Boolean(required=True, description='The number of the batch, 1..65535.')